import React, { Component } from 'react';

class No extends Component {
    
    // constructor(props){
    //     super(props);
    //     this.state = {
            
    //     }
    // }
    fun = () => {
        this.props.history.push("/index")
    }
    render() {
        return (
            <div>
                <span>亲,页面不见了~~~~~~</span>
                <button onClick={this.fun}>点我回首页</button>
            </div>
        );
    }
}

export default No;